package com.java.excend.test_4;

/**
 * @author luzhikun
 * @date 2020/12/6- 13:50
 */
public class Test {
    public static void main(String[] args) {
        Person_2 person2 = new Teacher_2();
        person2.speakClass();
        System.out.println("--------------------");
        person2 = new Teacher_1();
        person2.speakClass();
        // Person person=new Student();

    }
}
